package whf.framework.security.dao;

import whf.framework.exception.FindException;
import whf.framework.security.entity.User;

/**
 * @author wanghaifeng
 * @email king@126.com
 * @modify 2006-05-31
 */
public interface UserDAO extends whf.framework.dao.DAO<User> {
	public User findByUsernamePassword(String username, String password) throws FindException;
	
	public User findByUsername(String username) throws FindException;
} 